package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPayRecordDao;
import com.appkubes.mall.core.entity.MallPayRecord;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPayRecordService extends AbstractBaseService<BaseMallPayRecordDao, MallPayRecord> {

    MallPayRecord getOneByEntity(MallPayRecord entity);

    List<MallPayRecord> selectListByEntity(MallPayRecord entity);

    IPage<MallPayRecord> selectPageByEntity(IPage<MallPayRecord> page);
    IPage<MallPayRecord> selectPageByEntity(PageVO pageVO);

    IPage<MallPayRecord> selectPageByEntity(MallPayRecord entity, IPage<MallPayRecord> page);
    IPage<MallPayRecord> selectPageByEntity(MallPayRecord entity, PageVO pageVO);

    IPage<MallPayRecord> selectPageByEntity(MallPayRecord entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPayRecord entity);
}
